/*
 * XML Type:  Relationship
 * Namespace: http:///org/isistan/flabot/coremodel.ecore
 * Java type: org.isistan.flabot.coremodelEcore.Relationship
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.coremodelEcore;


/**
 * An XML Relationship(@http:///org/isistan/flabot/coremodel.ecore).
 *
 * This is a complex type.
 */
public interface Relationship extends org.isistan.flabot.coremodelEcore.NamedElementModel
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Relationship.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("relationshipb606type");
    
    /**
     * Gets array of all "properties" elements
     */
    org.isistan.flabot.coremodelEcore.Property[] getPropertiesArray();
    
    /**
     * Gets ith "properties" element
     */
    org.isistan.flabot.coremodelEcore.Property getPropertiesArray(int i);
    
    /**
     * Returns number of "properties" element
     */
    int sizeOfPropertiesArray();
    
    /**
     * Sets array of all "properties" element
     */
    void setPropertiesArray(org.isistan.flabot.coremodelEcore.Property[] propertiesArray);
    
    /**
     * Sets ith "properties" element
     */
    void setPropertiesArray(int i, org.isistan.flabot.coremodelEcore.Property properties);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "properties" element
     */
    org.isistan.flabot.coremodelEcore.Property insertNewProperties(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "properties" element
     */
    org.isistan.flabot.coremodelEcore.Property addNewProperties();
    
    /**
     * Removes the ith "properties" element
     */
    void removeProperties(int i);
    
    /**
     * Gets array of all "stereotype" elements
     */
    org.isistan.flabot.coremodelEcore.Stereotype[] getStereotypeArray();
    
    /**
     * Gets ith "stereotype" element
     */
    org.isistan.flabot.coremodelEcore.Stereotype getStereotypeArray(int i);
    
    /**
     * Returns number of "stereotype" element
     */
    int sizeOfStereotypeArray();
    
    /**
     * Sets array of all "stereotype" element
     */
    void setStereotypeArray(org.isistan.flabot.coremodelEcore.Stereotype[] stereotypeArray);
    
    /**
     * Sets ith "stereotype" element
     */
    void setStereotypeArray(int i, org.isistan.flabot.coremodelEcore.Stereotype stereotype);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "stereotype" element
     */
    org.isistan.flabot.coremodelEcore.Stereotype insertNewStereotype(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "stereotype" element
     */
    org.isistan.flabot.coremodelEcore.Stereotype addNewStereotype();
    
    /**
     * Removes the ith "stereotype" element
     */
    void removeStereotype(int i);
    
    /**
     * Gets array of all "notes" elements
     */
    org.isistan.flabot.coremodelEcore.Note[] getNotesArray();
    
    /**
     * Gets ith "notes" element
     */
    org.isistan.flabot.coremodelEcore.Note getNotesArray(int i);
    
    /**
     * Returns number of "notes" element
     */
    int sizeOfNotesArray();
    
    /**
     * Sets array of all "notes" element
     */
    void setNotesArray(org.isistan.flabot.coremodelEcore.Note[] notesArray);
    
    /**
     * Sets ith "notes" element
     */
    void setNotesArray(int i, org.isistan.flabot.coremodelEcore.Note notes);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "notes" element
     */
    org.isistan.flabot.coremodelEcore.Note insertNewNotes(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "notes" element
     */
    org.isistan.flabot.coremodelEcore.Note addNewNotes();
    
    /**
     * Removes the ith "notes" element
     */
    void removeNotes(int i);
    
    /**
     * Gets array of all "source" elements
     */
    org.isistan.flabot.coremodelEcore.ComponentModel[] getSourceArray();
    
    /**
     * Gets ith "source" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel getSourceArray(int i);
    
    /**
     * Returns number of "source" element
     */
    int sizeOfSourceArray();
    
    /**
     * Sets array of all "source" element
     */
    void setSourceArray(org.isistan.flabot.coremodelEcore.ComponentModel[] sourceArray);
    
    /**
     * Sets ith "source" element
     */
    void setSourceArray(int i, org.isistan.flabot.coremodelEcore.ComponentModel source);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "source" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel insertNewSource(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "source" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel addNewSource();
    
    /**
     * Removes the ith "source" element
     */
    void removeSource(int i);
    
    /**
     * Gets array of all "target" elements
     */
    org.isistan.flabot.coremodelEcore.ComponentModel[] getTargetArray();
    
    /**
     * Gets ith "target" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel getTargetArray(int i);
    
    /**
     * Returns number of "target" element
     */
    int sizeOfTargetArray();
    
    /**
     * Sets array of all "target" element
     */
    void setTargetArray(org.isistan.flabot.coremodelEcore.ComponentModel[] targetArray);
    
    /**
     * Sets ith "target" element
     */
    void setTargetArray(int i, org.isistan.flabot.coremodelEcore.ComponentModel target);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "target" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel insertNewTarget(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "target" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel addNewTarget();
    
    /**
     * Removes the ith "target" element
     */
    void removeTarget(int i);
    
    /**
     * Gets the "stereotype" attribute
     */
    java.lang.String getStereotype2();
    
    /**
     * Gets (as xml) the "stereotype" attribute
     */
    org.apache.xmlbeans.XmlString xgetStereotype2();
    
    /**
     * True if has "stereotype" attribute
     */
    boolean isSetStereotype2();
    
    /**
     * Sets the "stereotype" attribute
     */
    void setStereotype2(java.lang.String stereotype2);
    
    /**
     * Sets (as xml) the "stereotype" attribute
     */
    void xsetStereotype2(org.apache.xmlbeans.XmlString stereotype2);
    
    /**
     * Unsets the "stereotype" attribute
     */
    void unsetStereotype2();
    
    /**
     * Gets the "notes" attribute
     */
    java.lang.String getNotes2();
    
    /**
     * Gets (as xml) the "notes" attribute
     */
    org.apache.xmlbeans.XmlString xgetNotes2();
    
    /**
     * True if has "notes" attribute
     */
    boolean isSetNotes2();
    
    /**
     * Sets the "notes" attribute
     */
    void setNotes2(java.lang.String notes2);
    
    /**
     * Sets (as xml) the "notes" attribute
     */
    void xsetNotes2(org.apache.xmlbeans.XmlString notes2);
    
    /**
     * Unsets the "notes" attribute
     */
    void unsetNotes2();
    
    /**
     * Gets the "direction" attribute
     */
    org.isistan.flabot.coremodelEcore.RelationshipDirection.Enum getDirection();
    
    /**
     * Gets (as xml) the "direction" attribute
     */
    org.isistan.flabot.coremodelEcore.RelationshipDirection xgetDirection();
    
    /**
     * True if has "direction" attribute
     */
    boolean isSetDirection();
    
    /**
     * Sets the "direction" attribute
     */
    void setDirection(org.isistan.flabot.coremodelEcore.RelationshipDirection.Enum direction);
    
    /**
     * Sets (as xml) the "direction" attribute
     */
    void xsetDirection(org.isistan.flabot.coremodelEcore.RelationshipDirection direction);
    
    /**
     * Unsets the "direction" attribute
     */
    void unsetDirection();
    
    /**
     * Gets the "source" attribute
     */
    java.lang.String getSource2();
    
    /**
     * Gets (as xml) the "source" attribute
     */
    org.apache.xmlbeans.XmlString xgetSource2();
    
    /**
     * True if has "source" attribute
     */
    boolean isSetSource2();
    
    /**
     * Sets the "source" attribute
     */
    void setSource2(java.lang.String source2);
    
    /**
     * Sets (as xml) the "source" attribute
     */
    void xsetSource2(org.apache.xmlbeans.XmlString source2);
    
    /**
     * Unsets the "source" attribute
     */
    void unsetSource2();
    
    /**
     * Gets the "target" attribute
     */
    java.lang.String getTarget2();
    
    /**
     * Gets (as xml) the "target" attribute
     */
    org.apache.xmlbeans.XmlString xgetTarget2();
    
    /**
     * True if has "target" attribute
     */
    boolean isSetTarget2();
    
    /**
     * Sets the "target" attribute
     */
    void setTarget2(java.lang.String target2);
    
    /**
     * Sets (as xml) the "target" attribute
     */
    void xsetTarget2(org.apache.xmlbeans.XmlString target2);
    
    /**
     * Unsets the "target" attribute
     */
    void unsetTarget2();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.isistan.flabot.coremodelEcore.Relationship newInstance() {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.Relationship parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.Relationship parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.Relationship parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.Relationship) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
